package com.tyg.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tyg.entity.RoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限（角色菜单关联）表 服务类
 * </p>
 *
 * @author zhangjingnan
 * @since 2022-10-22
 */
public interface RoleMenuService extends IService<RoleMenu> {

    public void updateRoleMenu(int roleId,int [] menuIds);

    public List<RoleMenu> selectList(QueryWrapper<RoleMenu> queryWrapper);
}
